[INFO] cloning repository https://github.com/mw10013/ahub
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mw10013/ahub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmw10013%2Fahub", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmw10013%2Fahub'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d391a80a02ad4ab67cd15492570b003a86410c45
[INFO] checking mw10013/ahub against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmw10013%2Fahub" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mw10013/ahub on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mw10013/ahub
[INFO] finished tweaking git repo https://github.com/mw10013/ahub
[INFO] tweaked toml for git repo https://github.com/mw10013/ahub written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/mw10013/ahub already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libsqlite3-sys v0.23.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7e088776f5cfcd1a2370a831a0543f1ce9c64607c8dae861abbd961f3f083dea
[INFO] running `Command { std: "docker" "start" "-a" "7e088776f5cfcd1a2370a831a0543f1ce9c64607c8dae861abbd961f3f083dea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e088776f5cfcd1a2370a831a0543f1ce9c64607c8dae861abbd961f3f083dea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e088776f5cfcd1a2370a831a0543f1ce9c64607c8dae861abbd961f3f083dea", kill_on_drop: false }`
[INFO] [stdout] 7e088776f5cfcd1a2370a831a0543f1ce9c64607c8dae861abbd961f3f083dea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fc36fb9a77c78674852a16ab33b56f7fcf516bb464088df55ecb577c083f5a7
[INFO] running `Command { std: "docker" "start" "-a" "4fc36fb9a77c78674852a16ab33b56f7fcf516bb464088df55ecb577c083f5a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.8
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]    Compiling signal-hook v0.3.13
[INFO] [stderr]    Compiling crossbeam-utils v0.8.7
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling cache-padded v1.2.0
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling async-task v4.2.0
[INFO] [stderr]    Compiling async-channel v1.6.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling blocking v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]    Compiling async-executor v1.4.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.23.2
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling crossbeam-queue v0.3.4
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling async-lock v2.5.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]     Checking tracing-core v0.1.23
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]     Checking tracing v0.1.32
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling spin v0.9.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling ctor v0.1.21
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking polling v2.2.0
[INFO] [stderr]     Checking async-io v1.6.0
[INFO] [stderr]     Checking mio v0.8.1
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]     Checking async-global-executor v2.0.3
[INFO] [stderr]     Checking async-process v1.3.0
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling async-std v1.10.0
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling flume v0.10.12
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]     Checking h2 v0.3.12
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking async-native-tls v0.3.3
[INFO] [stderr]     Checking sqlx-rt v0.5.11
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling sqlx-core v0.5.11
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking hyper v0.14.17
[INFO] [stderr]    Compiling clap_derive v3.1.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking ipnet v2.4.0
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking clap v3.1.6
[INFO] [stderr]    Compiling sqlx-macros v0.5.11
[INFO] [stderr]     Checking reqwest v0.11.10
[INFO] [stderr]     Checking sqlx v0.5.11
[INFO] [stderr]     Checking ahub v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/access.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let active_code = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 13 | |         ActiveCode,
[INFO] [stdout] 14 | |         r#"select access_point_id, position, code, access_user_id, activate_code_at, expire_code_at
[INFO] [stdout] 15 | |         from ActiveCode where code = ? and position = ?"#,
[INFO] [stdout] 16 | |         code,
[INFO] [stdout] 17 | |         position
[INFO] [stdout] 18 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/access.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 |               let _id = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             INSERT INTO AccessEvent (at, access, code, access_user_id, access_point_id) VALUES (CURRENT_TIMESTAMP,'grant', ?, ?, ?)       
[INFO] [stdout] 27 | |             "#,
[INFO] [stdout] 28 | |             active_code.code, active_code.access_user_id, active_code.access_point_id)
[INFO] [stdout]    | |______________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/access.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |               let point = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 36 | |                 Point,
[INFO] [stdout] 37 | |                 r#"select id, position from AccessPoint where position = ?"#,
[INFO] [stdout] 38 | |                 position
[INFO] [stdout] 39 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/access.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |                       let _id = sqlx::query!(
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 45 | |                         r#"
[INFO] [stdout] 46 | |                         INSERT INTO AccessEvent (at, access, code, access_point_id) VALUES (CURRENT_TIMESTAMP,'deny', ?, ?)       
[INFO] [stdout] 47 | |                         "#,
[INFO] [stdout] 48 | |                         code, point.id)
[INFO] [stdout]    | |_______________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/access.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let active_code = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 13 | |         ActiveCode,
[INFO] [stdout] 14 | |         r#"select access_point_id, position, code, access_user_id, activate_code_at, expire_code_at
[INFO] [stdout] 15 | |         from ActiveCode where code = ? and position = ?"#,
[INFO] [stdout] 16 | |         code,
[INFO] [stdout] 17 | |         position
[INFO] [stdout] 18 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/access.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 |               let _id = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             INSERT INTO AccessEvent (at, access, code, access_user_id, access_point_id) VALUES (CURRENT_TIMESTAMP,'grant', ?, ?, ?)       
[INFO] [stdout] 27 | |             "#,
[INFO] [stdout] 28 | |             active_code.code, active_code.access_user_id, active_code.access_point_id)
[INFO] [stdout]    | |______________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/access.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |               let point = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 36 | |                 Point,
[INFO] [stdout] 37 | |                 r#"select id, position from AccessPoint where position = ?"#,
[INFO] [stdout] 38 | |                 position
[INFO] [stdout] 39 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/access.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |                       let _id = sqlx::query!(
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 45 | |                         r#"
[INFO] [stdout] 46 | |                         INSERT INTO AccessEvent (at, access, code, access_point_id) VALUES (CURRENT_TIMESTAMP,'deny', ?, ?)       
[INFO] [stdout] 47 | |                         "#,
[INFO] [stdout] 48 | |                         code, point.id)
[INFO] [stdout]    | |_______________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/mock.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |       let id = sqlx::query!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 16 | |         r#"
[INFO] [stdout] 17 | |         INSERT INTO AccessEvent (at, access, code, access_user_id, access_point_id) VALUES (CURRENT_TIMESTAMP,'grant', ?, ?, ?)       
[INFO] [stdout] 18 | |         "#,
[INFO] [stdout] 19 | |         user.code, user_id, point_id
[INFO] [stdout] 20 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/mock.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |       let id = sqlx::query!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 16 | |         r#"
[INFO] [stdout] 17 | |         INSERT INTO AccessEvent (at, access, code, access_user_id, access_point_id) VALUES (CURRENT_TIMESTAMP,'grant', ?, ?, ?)       
[INFO] [stdout] 18 | |         "#,
[INFO] [stdout] 19 | |         user.code, user_id, point_id
[INFO] [stdout] 20 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/mock.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |       let id = sqlx::query!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 29 | |         r#"
[INFO] [stdout] 30 | |         INSERT INTO AccessEvent (at, access, code, access_point_id) VALUES (CURRENT_TIMESTAMP,'deny', ?, ?)           
[INFO] [stdout] 31 | |         "#,
[INFO] [stdout] 32 | |         code, point_id
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/mock.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |       let id = sqlx::query!(
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 29 | |         r#"
[INFO] [stdout] 30 | |         INSERT INTO AccessEvent (at, access, code, access_point_id) VALUES (CURRENT_TIMESTAMP,'deny', ?, ?)           
[INFO] [stdout] 31 | |         "#,
[INFO] [stdout] 32 | |         code, point_id
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ActiveCode`, `Point`
[INFO] [stdout]  --> src/access.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::domain::{ActiveCode, Point};
[INFO] [stdout]   |                     ^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ActiveCode`, `Point`
[INFO] [stdout]  --> src/access.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::domain::{ActiveCode, Point};
[INFO] [stdout]   |                     ^^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ahub` (bin "ahub") due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ahub` (bin "ahub" test) due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "4fc36fb9a77c78674852a16ab33b56f7fcf516bb464088df55ecb577c083f5a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fc36fb9a77c78674852a16ab33b56f7fcf516bb464088df55ecb577c083f5a7", kill_on_drop: false }`
[INFO] [stdout] 4fc36fb9a77c78674852a16ab33b56f7fcf516bb464088df55ecb577c083f5a7
